#ifndef CLASSSKILLPROXY_H
#define CLASSSKILLPROXY_H



#include "AbstractItemProxy.h"



class ClassSkillProxy : public AbstractItemProxy
{
    Q_OBJECT

public:


    ClassSkillProxy(QObject *parent = 0);

    virtual int columnCount(const QModelIndex &parent) const;

    virtual QVariant data(const QModelIndex &proxyIndex, int role) const;
    virtual bool setData(const QModelIndex &index, const QVariant &value, int role);

    virtual QVariant headerData(int section, Qt::Orientation orientation, int role) const;

    virtual Qt::ItemFlags flags(const QModelIndex &index) const;


protected slots:

    virtual void remap();


protected:

    bool isClassSkill(const QModelIndex& proxyIndex) const;
    QModelIndex classSkillIndex(const QModelIndex& proxyIndex) const;


};



#endif // CLASSSKILLPROXY_H


